﻿using CommonDevelop;
using CommonDevelop.DB;
using ManageDB;
using ManageRepository;

namespace ManageService
{
    /// <summary>
    /// 角色服务层接口
    /// </summary>
    public interface IRoleService : IBaseService<Base_Role>
    {

    }

    /// <summary>
    /// 角色服务层
    /// </summary>
    public class RoleService : BaseService<Base_Role, IRoleRepository>, IRoleService
    {
        /// <summary>
        /// 构造注入
        /// </summary>
        public RoleService(IRoleRepository repository) : base(repository)
        {

        }

        public override string BuildSeq()
           => SugarBizDB.BuildSeq_01("Role");
    }
}
